package com.ruoyi.interview.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 面试记录对象 tb_records
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class TbRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 面试记录id */
    @Excel(name = "面试记录id")
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;
    private String stuName;

    /** 公司id */
    @Excel(name = "公司id")
    private Long corporationId;
    private String corporationName;
    private String corporationAddress;

    public String getCorporationAddress() {
        return corporationAddress;
    }

    public void setCorporationAddress(String corporationAddress) {
        this.corporationAddress = corporationAddress;
    }

    /** 岗位id */
    @Excel(name = "岗位id")
    private Long postId;
    private String postName;

    /** 创建时间 */
    private Date createdTime;

    private List<TbInterview> interviewList;

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getCorporationName() {
        return corporationName;
    }

    public void setCorporationName(String corporationName) {
        this.corporationName = corporationName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public List<TbInterview> getInterviewList() {
        return interviewList;
    }

    public void setInterviewList(List<TbInterview> interviewList) {
        this.interviewList = interviewList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setCorporationId(Long corporationId) 
    {
        this.corporationId = corporationId;
    }

    public Long getCorporationId() 
    {
        return corporationId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("corporationId", getCorporationId())
            .append("postId", getPostId())
            .append("createdTime", getCreatedTime())
            .append("stuName", getStuName())
            .append("corporationName", getCorporationName())
            .append("corporationAddress", getCorporationAddress())
            .append("postName", getPostName())
            .append("interviewList", getInterviewList())
            .toString();
    }
}
